﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Website
{
    public partial class VerwachteFilm : System.Web.UI.UserControl
    {
        private Film f;

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public Film Film
        {
            set 
            { 
                f = value;
                Image_Poster.ImageUrl = Module.IMAGE_FOLDER + f.poster;
            }
        }

        protected void Image_Poster_Click(object sender, ImageClickEventArgs e)
        {
            Session["film"] = f;
            Response.Redirect("FilmPagina.aspx");
        }
    }
}